CFLAGS=-g

SOURCES=datelib.c lilcal.c

PROGRAMS=$(SOURCES:.c=)

all: ${PROGRAMS}

datelib: datelib.c
	${CC} ${CFLAGS} -o $@ $< -DDRIVER
lilcal: lilcal.c
	${CC} ${CFLAGS} -o $@ $< datelib.c
    
clean:
	rm -rf ${PROGRAMS}
